123 PRINT "THE INPUTS TO THE BLACK-SCHOLES FORMULA ARE: "
124 PRINT : PRINT "1. EXERCISE PRICE"
125 PRINT : PRINT "2. CURRENT STOCK PRICE (MUST BE GREATER THAN 4)"
126 PRINT : PRINT "3. CURRENT ANNUAL INTEREST RATE CONTINOUSLY COMPOUNDED (I.E. .065 EQUALS 6.5% PER YEAR)"
127 PRINT : PRINT "4. TIME TO MATURITY IN YEARS (I.E. .25 MEANS THERE ARE THREE MONTHS LEFT BEFORE THE OPTION EXPIRES)"
128 PRINT : PRINT "5. ANNUALIZED STANDARD DEVIATION OF THE STOCK'S RETURN CONTINOUSLY COMPOUNED (STD. DEV. OF THE LOGARITHM OF THE STOCK RETURN SERIES)
129 PRINT : PRINT "DO YOU WISH TO ESTIMATE THE STD. DEV. FROM STOCK PRICE DATA...(ENTER Y OR N):"
130 VTAB 23: HTAB 40: GET A$
131 IF A$ = "Y" THEN GOSUB 8000
132 PRINT : PRINT : PRINT
159 PRINT "ENTER EXERCISE PRICE: ": INPUT E
160 PRINT "ENTER CURRENT STOCK PRICE:": INPUT STK(3)
170 PRINT "ENTER CURRENT ANNUAL INTEREST RATE: ": INPUT R
180 PRINT "ENTER TIME TO MATURITY FOR 1ST OPTION:": INPUT TIME(1)
190 PRINT "ENTER TIME TO MATURITY FOR 2ND OPTION: ": INPUT TIME(2)
200 PRINT "ENTER STANDARD DEVIATION OF THE LOGARITM OF THE STOCK RETURN SERIES: ": INPUT STD
210 VAR = STD ^2
1000 FOR I = 1 TO 5:STK(I) = STK(3) +2 *(I -3): NEXT I
1010 FOR I = 1 TO 5: FOR J = 1 TO 2
1020 S = STK(I)
1030 T = TIME(J)
1040 GOSUB 4000:P(I,J) = OPT:HEDGE(I,J) = H
1050 NEXT J: NEXT I
1100 REM PRINT OUTPUT
1110 CALL -936: PRINT
1120 PRINT " EXERCISE PRICE= ";E
1130 PRINT " R= ";R;" STD DEV= ";STD
1140 PRINT
1150 PRINT " TIME TO MATURITY"
1160 PRINT "STOCK PRICE",TIME(1),TIME(2)
1170 PRINT
1180 FOR I = 1 TO 5
1190 PRINT STK(I);" ";P(I,1);" ";P(I,2)
1200 PRINT " ";HEDGE(I,1);" ";HEDGE(I,2)
1210 PRINT
1220 NEXT I
1250 PRINT "DO YOU WISH TO CHANGE ANY INPUTS... (ENTER Y OR N):"
1260 VTAB 23: HTAB 17: GET A$
1270 IF A$ = "N" THEN END
1280 CALL -936
1290 PRINT "CURRENT INPUT VALUES:"
1300 PRINT : PRINT "1. EXERCISE PRICE= ";E
1310 PRINT : PRINT "2. STOCK PRICE= ";STK(3)
1315 PRINT : PRINT "3. TIME TO MATURITY 1= ";TIME(1)
1320 PRINT : PRINT "4. TIME TO MATURITY 2= ";TIME(2)
1330 PRINT : PRINT "5. STD. DEV.= ";STD
1345 PRINT : PRINT "6. INTEREST RATE= ";R
1347 PRINT : PRINT : PRINT "ENTER THE NUMBER (1-6) OF THE INPUT YOU WISH TO CHANGE: "
1350 VTAB 17: HTAB 17: GET I
1360 ON I GOTO 1410,1420,1430,1440,1450,1460
1370 GOTO 1340
1410 PRINT : PRINT "ENTER EXERCISE PRICE: ": INPUT E